package com.villaday.idf.model3;

import java.util.List;

public class PreSalesEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"current":0,"hasNext":true,"hasPrevious":false,"list":[{"currentPrice":"1,399","discountAmount":"1,400","discountRate":"4.9","id":"aPKo4k5dmg","imageUrl":"https://img.villaday.com/images/house_710/721346246/721346246-10-14898179.jpg","name":"【约\u201c惠\u201d初夏】南昆山十字水夏季特惠！¥1399住冬凝蜜月套房，赠送峭壁下午茶，丛林穿越/水上皮划艇二选一（有效至10.31）","originalPrice":"2,799","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_710/721346246/721346246-10-14898179.jpg","rebateAmount":"150.04","saleTips":"5月22日预售截止","tags":["约\u201c惠\u201d初夏"]},{"currentPrice":"699","discountAmount":"300","discountRate":"6.9","id":"QdEM7x96KW","imageUrl":"https://img.villaday.com/images/house_424/656748968/656748968-10-14893742.jpg","name":"【童话主题】699元抢深圳东部华侨城黑森林酒店高级房+2大1小自助早餐+2大1小大侠谷/茶溪谷两天无限次畅游（有效至7.31）","originalPrice":"999","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_424/656748968/656748968-10-14893742.jpg","rebateAmount":"70","saleTips":"5月30日预售截止","tags":["亲子出游"]},{"currentPrice":"599","discountAmount":"400","discountRate":"5.9","id":"xQKvag43r4","imageUrl":"https://img.villaday.com/images/house_440/670946744/670946744-10-14894786.jpg","name":"【宛若故里·稻田里】￥599体验2天1晚广州近郊、稻海之乡村生活~珠三角最美稻田茶席、听山林稻海唱歌(有效至2021.4.29）","originalPrice":"999","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_440/670946744/670946744-10-14894786.jpg","rebateAmount":"70","saleTips":"5月15日预售截止","tags":["最美稻田茶席"]},{"currentPrice":"788","discountAmount":"111","discountRate":"8.7","id":"DLrYL0GXEk","imageUrl":"https://img.villaday.com/images/house_446/585176510/585176510-10-14886776.png","name":"【夏季泡汤计划】788元入住地派温泉酒店单式池畔别墅，享私人温泉泡池，含2大1小自助早餐+无限次温泉公共温泉（有效至7.15）","originalPrice":"899","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_446/585176510/585176510-10-14886776.png","rebateAmount":"90.01","saleTips":"5月30日预售截止","tags":["夏季泡汤计划"]},{"currentPrice":"899","discountAmount":"1,100","discountRate":"4.4","id":"aPKo4kqLmg","imageUrl":"https://img.villaday.com/images/house_1019/702889979/702889979-10-14896073.jpg","name":"【惠州·五星级高端民宿】错峰出游特惠，低至899元秒杀玉庐汇·墅家庄园度假酒店美食游玩套餐（有效期至7月31日）","originalPrice":"1,999","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_1019/702889979/702889979-10-14896073.jpg","rebateAmount":"90","saleTips":"5月31日预售截止","tags":["错峰出游"]},{"currentPrice":"99","discountAmount":"969","discountRate":"0.9","id":"LemQZxz2EZ","imageUrl":"https://img.villaday.com/images/house_877/24786797/24786797-10-14856269.jpg","name":" 【广东100+店通用】拒绝\u201c口罩脸\u201d科学「颜救」助你美貌复工！伊丽汇明星护理三选一套餐仅售99元！还赠送季度皮肤检测卡！","originalPrice":"1,068","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_877/24786797/24786797-10-14856269.jpg","rebateAmount":"20","saleTips":"5月30日预售截止","tags":["伊丽汇"]},{"currentPrice":"699","discountAmount":"189","discountRate":"7.8","id":"qGEL5xo6rZ","imageUrl":"https://img.villaday.com/images/house_205/30925/30925-10-14732966.jpg","name":"【网红稻田民宿】博罗·禾肚里美食之旅，低至699元住稻田民宿享双份早餐 +营养正餐，送 DIY体验活动，更多玩法等你探索~","originalPrice":"888","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_205/30925/30925-10-14732966.jpg","rebateAmount":"60","saleTips":"5月23日预售截止","tags":["网红民宿"]},{"currentPrice":"499","discountAmount":"389","discountRate":"5.6","id":"qbK5YyAyKd","imageUrl":"https://img.villaday.com/images/house_975/579993551/579993551-10-14885777.jpg","name":"【养生之旅】爆款民宿错峰特惠！499住忘山居豪华房还送一份原生态河鱼+双人下午茶+双人早餐，更多体验项目等你来~（有效期6月底）","originalPrice":"888","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_975/579993551/579993551-10-14885777.jpg","rebateAmount":"60","saleTips":"5月31日预售截止","tags":["养生之旅"]},{"currentPrice":"288","discountAmount":"600","discountRate":"3.2","id":"0grOOxwyr4","imageUrl":"https://img.villaday.com/images/house_63/105761855/105761855-10-14762513.JPG","name":"【惠州·万科双月湾】288元惠州双月湾·高级海景两房一厅，！纯福利，六个月平日周末不加收（有效期至12月底）","originalPrice":"888","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_63/105761855/105761855-10-14762513.JPG","rebateAmount":"50","saleTips":"5月23日预售截止","tags":["双月湾"]},{"currentPrice":"499","discountAmount":"781","discountRate":"3.8","id":"z7EyPNoWmg","imageUrl":"https://img.villaday.com/images/house_720/1700560/1700560-10-14525444.jpg","name":"【五月特惠】|豪叹3餐！￥499秒惠州双月湾官方正品微豪思酒店！打卡南中国醉美度假私享·惠州双月湾，还有更多好礼相送！","originalPrice":"1,280","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_720/1700560/1700560-10-14525444.jpg","rebateAmount":"50","saleTips":"5月30日预售截止","tags":["五月特惠"]}],"next":2,"total":56}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * current : 0
         * hasNext : true
         * hasPrevious : false
         * list : [{"currentPrice":"1,399","discountAmount":"1,400","discountRate":"4.9","id":"aPKo4k5dmg","imageUrl":"https://img.villaday.com/images/house_710/721346246/721346246-10-14898179.jpg","name":"【约\u201c惠\u201d初夏】南昆山十字水夏季特惠！¥1399住冬凝蜜月套房，赠送峭壁下午茶，丛林穿越/水上皮划艇二选一（有效至10.31）","originalPrice":"2,799","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_710/721346246/721346246-10-14898179.jpg","rebateAmount":"150.04","saleTips":"5月22日预售截止","tags":["约\u201c惠\u201d初夏"]},{"currentPrice":"699","discountAmount":"300","discountRate":"6.9","id":"QdEM7x96KW","imageUrl":"https://img.villaday.com/images/house_424/656748968/656748968-10-14893742.jpg","name":"【童话主题】699元抢深圳东部华侨城黑森林酒店高级房+2大1小自助早餐+2大1小大侠谷/茶溪谷两天无限次畅游（有效至7.31）","originalPrice":"999","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_424/656748968/656748968-10-14893742.jpg","rebateAmount":"70","saleTips":"5月30日预售截止","tags":["亲子出游"]},{"currentPrice":"599","discountAmount":"400","discountRate":"5.9","id":"xQKvag43r4","imageUrl":"https://img.villaday.com/images/house_440/670946744/670946744-10-14894786.jpg","name":"【宛若故里·稻田里】￥599体验2天1晚广州近郊、稻海之乡村生活~珠三角最美稻田茶席、听山林稻海唱歌(有效至2021.4.29）","originalPrice":"999","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_440/670946744/670946744-10-14894786.jpg","rebateAmount":"70","saleTips":"5月15日预售截止","tags":["最美稻田茶席"]},{"currentPrice":"788","discountAmount":"111","discountRate":"8.7","id":"DLrYL0GXEk","imageUrl":"https://img.villaday.com/images/house_446/585176510/585176510-10-14886776.png","name":"【夏季泡汤计划】788元入住地派温泉酒店单式池畔别墅，享私人温泉泡池，含2大1小自助早餐+无限次温泉公共温泉（有效至7.15）","originalPrice":"899","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_446/585176510/585176510-10-14886776.png","rebateAmount":"90.01","saleTips":"5月30日预售截止","tags":["夏季泡汤计划"]},{"currentPrice":"899","discountAmount":"1,100","discountRate":"4.4","id":"aPKo4kqLmg","imageUrl":"https://img.villaday.com/images/house_1019/702889979/702889979-10-14896073.jpg","name":"【惠州·五星级高端民宿】错峰出游特惠，低至899元秒杀玉庐汇·墅家庄园度假酒店美食游玩套餐（有效期至7月31日）","originalPrice":"1,999","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_1019/702889979/702889979-10-14896073.jpg","rebateAmount":"90","saleTips":"5月31日预售截止","tags":["错峰出游"]},{"currentPrice":"99","discountAmount":"969","discountRate":"0.9","id":"LemQZxz2EZ","imageUrl":"https://img.villaday.com/images/house_877/24786797/24786797-10-14856269.jpg","name":" 【广东100+店通用】拒绝\u201c口罩脸\u201d科学「颜救」助你美貌复工！伊丽汇明星护理三选一套餐仅售99元！还赠送季度皮肤检测卡！","originalPrice":"1,068","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_877/24786797/24786797-10-14856269.jpg","rebateAmount":"20","saleTips":"5月30日预售截止","tags":["伊丽汇"]},{"currentPrice":"699","discountAmount":"189","discountRate":"7.8","id":"qGEL5xo6rZ","imageUrl":"https://img.villaday.com/images/house_205/30925/30925-10-14732966.jpg","name":"【网红稻田民宿】博罗·禾肚里美食之旅，低至699元住稻田民宿享双份早餐 +营养正餐，送 DIY体验活动，更多玩法等你探索~","originalPrice":"888","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_205/30925/30925-10-14732966.jpg","rebateAmount":"60","saleTips":"5月23日预售截止","tags":["网红民宿"]},{"currentPrice":"499","discountAmount":"389","discountRate":"5.6","id":"qbK5YyAyKd","imageUrl":"https://img.villaday.com/images/house_975/579993551/579993551-10-14885777.jpg","name":"【养生之旅】爆款民宿错峰特惠！499住忘山居豪华房还送一份原生态河鱼+双人下午茶+双人早餐，更多体验项目等你来~（有效期6月底）","originalPrice":"888","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_975/579993551/579993551-10-14885777.jpg","rebateAmount":"60","saleTips":"5月31日预售截止","tags":["养生之旅"]},{"currentPrice":"288","discountAmount":"600","discountRate":"3.2","id":"0grOOxwyr4","imageUrl":"https://img.villaday.com/images/house_63/105761855/105761855-10-14762513.JPG","name":"【惠州·万科双月湾】288元惠州双月湾·高级海景两房一厅，！纯福利，六个月平日周末不加收（有效期至12月底）","originalPrice":"888","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_63/105761855/105761855-10-14762513.JPG","rebateAmount":"50","saleTips":"5月23日预售截止","tags":["双月湾"]},{"currentPrice":"499","discountAmount":"781","discountRate":"3.8","id":"z7EyPNoWmg","imageUrl":"https://img.villaday.com/images/house_720/1700560/1700560-10-14525444.jpg","name":"【五月特惠】|豪叹3餐！￥499秒惠州双月湾官方正品微豪思酒店！打卡南中国醉美度假私享·惠州双月湾，还有更多好礼相送！","originalPrice":"1,280","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_720/1700560/1700560-10-14525444.jpg","rebateAmount":"50","saleTips":"5月30日预售截止","tags":["五月特惠"]}]
         * next : 2
         * total : 56
         */

        private int current;
        private boolean hasNext;
        private boolean hasPrevious;
        private int next;
        private int total;
        private List<ListBean> list;

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isHasNext() {
            return hasNext;
        }

        public void setHasNext(boolean hasNext) {
            this.hasNext = hasNext;
        }

        public boolean isHasPrevious() {
            return hasPrevious;
        }

        public void setHasPrevious(boolean hasPrevious) {
            this.hasPrevious = hasPrevious;
        }

        public int getNext() {
            return next;
        }

        public void setNext(int next) {
            this.next = next;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * currentPrice : 1,399
             * discountAmount : 1,400
             * discountRate : 4.9
             * id : aPKo4k5dmg
             * imageUrl : https://img.villaday.com/images/house_710/721346246/721346246-10-14898179.jpg
             * name : 【约“惠”初夏】南昆山十字水夏季特惠！¥1399住冬凝蜜月套房，赠送峭壁下午茶，丛林穿越/水上皮划艇二选一（有效至10.31）
             * originalPrice : 2,799
             * permission : {"allowShare":true}
             * picture : https://img.villaday.com/images/house_710/721346246/721346246-10-14898179.jpg
             * rebateAmount : 150.04
             * saleTips : 5月22日预售截止
             * tags : ["约\u201c惠\u201d初夏"]
             */

            private String currentPrice;
            private String discountAmount;
            private String discountRate;
            private String id;
            private String imageUrl;
            private String name;
            private String originalPrice;
            private PermissionBean permission;
            private String picture;
            private String rebateAmount;//返佣
            private String saleTips;
            private List<String> tags;
            private String extraRebateAmount;//加返

            public ListBean(int myType) {
                this.MyType = myType;
            }

            public String getExtraRebateAmount() {
                return extraRebateAmount;
            }

            public void setExtraRebateAmount(String extraRebateAmount) {
                this.extraRebateAmount = extraRebateAmount;
            }

            private int MyType;

            public int getMyType() {
                return MyType;
            }

            public void setMyType(int myType) {
                MyType = myType;
            }

            public String getCurrentPrice() {
                return currentPrice;
            }

            public void setCurrentPrice(String currentPrice) {
                this.currentPrice = currentPrice;
            }

            public String getDiscountAmount() {
                return discountAmount;
            }

            public void setDiscountAmount(String discountAmount) {
                this.discountAmount = discountAmount;
            }

            public String getDiscountRate() {
                return discountRate;
            }

            public void setDiscountRate(String discountRate) {
                this.discountRate = discountRate;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getOriginalPrice() {
                return originalPrice;
            }

            public void setOriginalPrice(String originalPrice) {
                this.originalPrice = originalPrice;
            }

            public PermissionBean getPermission() {
                return permission;
            }

            public void setPermission(PermissionBean permission) {
                this.permission = permission;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getRebateAmount() {
                return rebateAmount;
            }

            public void setRebateAmount(String rebateAmount) {
                this.rebateAmount = rebateAmount;
            }

            public String getSaleTips() {
                return saleTips;
            }

            public void setSaleTips(String saleTips) {
                this.saleTips = saleTips;
            }

            public List<String> getTags() {
                return tags;
            }

            public void setTags(List<String> tags) {
                this.tags = tags;
            }

            public static class PermissionBean {
                /**
                 * allowShare : true
                 */

                private boolean allowShare;

                public boolean isAllowShare() {
                    return allowShare;
                }

                public void setAllowShare(boolean allowShare) {
                    this.allowShare = allowShare;
                }
            }
        }
    }
}
